﻿<Window x:Class="DotBeer.UI.WPFClient.Views.WindowExceptionReport"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Error reporting" 
    Height="342" 
    Width="300" 
    ResizeMode="NoResize" 
    Icon="/DotBeer.UI.WPFClient;component/Images/icon.ico" 
    Closing="Window_Closing" 
    WindowStartupLocation="CenterOwner">
    <Grid Background="{DynamicResource BrushWindowBackground}" Name="LayoutRoot">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="59.125"/>
    		<RowDefinition Height="105"/>
    		<RowDefinition Height="105"/>
    		<RowDefinition Height="38"/>
    	</Grid.RowDefinitions>
    	<TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" Text="Error occured in DotBeer" TextWrapping="Wrap" FontSize="18" Margin="0,10,0,0"/>
    	<TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" Text="By sending error information you help improve DotBeer." TextWrapping="Wrap" Margin="0,35,0,0"/>
    	<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="Error information:" TextWrapping="Wrap" Grid.Row="1" Margin="10,10,0,0"/>
    	<TextBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="" TextWrapping="Wrap" Grid.Row="1" Margin="10,25,10,10" Style="{DynamicResource TextBoxStyle}" x:Name="textBoxErrorInformation" IsReadOnly="True" VerticalScrollBarVisibility="Auto" />
    	<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="When error occured:" TextWrapping="Wrap" Grid.Row="2" Margin="10,10,0,0"/>
    	<TextBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="" TextWrapping="Wrap" Grid.Row="2" Margin="10,25,10,10" Style="{DynamicResource TextBoxStyle}" x:Name="textBoxUserInfo" VerticalScrollBarVisibility="Auto" AcceptsReturn="True" />
    	<Button HorizontalAlignment="Left" VerticalAlignment="Center" Content="Don't send" Grid.Row="3" Width="80" Height="30" Style="{DynamicResource ButtonLightStyle}" Margin="10,0,0,0" x:Name="buttonDontSend" Click="buttonDontSend_Click"/>
    	<Button HorizontalAlignment="Right" VerticalAlignment="Center" Content="Send" Grid.Row="3" Width="80" Height="30" Margin="0,0,10,0" Style="{DynamicResource ButtonLightStyle}" x:Name="buttonSend" Click="buttonSend_Click"/>
        
    </Grid>
</Window>
